import string
import os
import time

class Class1(object):
	def __init__(self):
		pass
	def doOp1(self):
		sTxt = 'Op1'
		return sTxt
	def doOp2(self, sPar1):
		sTxt = 'Op2 : ' + sPar1
		return sTxt
	def doOp3(self):
		time.sleep(1)
		sTxt = 'Op3'
		return sTxt
	def doOp4(self, subList):
		sTxt = 'Op4-' + str(subList)
		return sTxt
class Class2(object):
	def __init__(self, sTxt, iNumber):
		self._Txt = sTxt
		self._Number = iNumber
	def doOp1(self):
		sTxt = 'Op1'
		return sTxt
	def doOp2(self, sPar1, sPar2='Hola'):
		sTxt = sPar1 + ',' + sPar2
		return sTxt

class Class3(object):
	def __init__(self, sTxt, iNumber, oClass2):
		self._Txt = sTxt
		self._Number = iNumber
		self._oClass2 = oClass2
	def doOp1(self):
		sTxt = 'Op1'
		return sTxt
	def doOp2(self, sPar1, sPar2='Hola'):
		sTxt = sPar1 + ',' + sPar2
		return sTxt
	def doOp3(self):
		sTxt = self._oClass2.doOp1()
		return sTxt

class Class4(object):
	def __init__(self, sTxt, iNumber, oClass2, bResponse=True):
		self._Txt = sTxt
		self._Number = iNumber
		self._oClass2 = oClass2
		self._Response = bResponse
	def doOp1(self):
		sTxt = 'Op1'
		return sTxt
	def doOp2(self, sPar1, sPar2='Hola'):
		sTxt = sPar1 + ',' + sPar2
		return sTxt
	def doOp3(self):
		sTxt = self._oClass2.doOp1()
		return sTxt
	def doOp4(self):
		sTxt = str(self._Response)
		return sTxt
